package org.jeecg.modules.compilation.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 用户icon关联表
 * @Author: jeecg-boot
 * @Date:   2024-03-15
 * @Version: V1.0
 */
@Data
@TableName("ci_business_category_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ci_business_category_user对象", description="用户icon关联表")
public class CiBusinessCategoryUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**sys_user用户userName*/
	@Excel(name = "sys_user用户userName", width = 15)
    @ApiModelProperty(value = "sys_user用户userName")
    private java.lang.String userId;
	/**业务类型编号*/
	@Excel(name = "业务类型编号", width = 15)
    @ApiModelProperty(value = "业务类型编号")
    private java.lang.String businessCategorySn;
	/**业务类型名称*/
	@Excel(name = "业务类型名称", width = 15)
    @ApiModelProperty(value = "业务类型名称")
    private java.lang.String businessCategoryName;
	/**业务类型图标url*/
	@Excel(name = "业务类型图标url", width = 15)
    @ApiModelProperty(value = "业务类型图标url")
    private java.lang.String businessCategoryUrl;
	/**启用状态*/
	@Excel(name = "启用状态", width = 15)
    @ApiModelProperty(value = "启用状态")
    private java.lang.String enableFlag;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;

    @Override
    public boolean equals(Object obj) {
        if (obj == this) return true;
        if (!(obj instanceof CiBusinessCategory)) return false;
        CiBusinessCategory other = (CiBusinessCategory) obj;
        return this.businessCategorySn.equals(other.getBusinessCategorySn());
    }
}
